import React, { useState,useEffect } from 'react'
import { View, Text } from '@tarojs/components'
import { AtButton,AtTabBar } from 'taro-ui'
import HeadInfo from './headInfo'
import ListNav from './listNav'
import Taro from '@tarojs/taro'
import ToLogin from '../../compontents/toLogin'

import "taro-ui/dist/style/components/button.scss" // 按需引入
import "taro-ui/dist/style/components/tab-bar.scss";
import "taro-ui/dist/style/components/badge.scss";
import "taro-ui/dist/style/components/icon.scss"
import './index.less'
import Navbar from '../../compontents/navbar/index'

export default (props: any) => {
  
  return (
    <View className='my'>
      <ToLogin url='/pages/my/index'></ToLogin>
      <HeadInfo/>
      <ListNav/>
       <Navbar></Navbar>
    </View>
  );
};
